package com.mss.media.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 收藏
 * </p>
 *
 * @author runqiang
 * @since 2021-12-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MediaCollection extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * collection_id collection_id
     */
    @TableId(value = "collection_id", type = IdType.AUTO)
    private Integer collectionId;

    /**
     * 用户账号 用户
     */
    private String userAccount;

    /**
     * 收藏时间 收藏时间
     */
    private LocalDateTime collectionTime;

    /**
     * 收藏案例ID 收藏案例ID
     */
    private Long caseId;


}
